<template>
  <div :style="calcConSize">
    <div class="qyui-cell col bd" :style="calcPageSize">
      <div class="qyui-cell row">
        <div style="position: relative;height:100%;width:100%;overflow:hidden">
          <ReportCord v-if="manager.bookCord!==null"></ReportCord>
          <template v-for="(item,index) in manager.Body.AllGridViews" :key="index">
            <ReportDataGridView :table-index="index"> </ReportDataGridView>
          </template>
        </div>
      </div>
    </div>
  </div>
</template>
<script>
import ReportDataGridView from './ReportDataGridView.vue';
import ReportCord from '../ReportEditor/ReportCord.vue';

export default {
  components: { ReportDataGridView, ReportCord },
  inject: ['manager'],
  data() {
    return { };
  },
  computed: {
    calcConSize() {
      return {
        width: this.manager.Page.Width + 'px',
        height: '100%',
        'background-color': '#eee8aa',
      };
    },
    calcPageSize() {
      return {
        width: this.manager.Page.Width + 'px',
        height: this.manager.Page.Height + 'px',
        'background-color': '#fff',
      };
    },
  },
  methods: {

  },
};
</script>
<style>

</style>
